﻿@{
    string currenturl = Request.Url.ToString().ToLower();
}
<dl>
    <dt>我的信息</dt>
    <dd class="@(currenturl.IndexOf("publishinfo/myinfolist") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("我的促销品", "MyInfoList", "PublishInfo")</dd>
    <dd class="@(currenturl.IndexOf("activity/myactivity") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("我的促销活动", "MyActivity", "Activity")</dd>
    <dd class="@(currenturl.IndexOf("ad/myad") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("我的广告", "MyAd", "Ad")</dd>
    <dd style="display:none" class="@(currenturl.IndexOf("content/contactus") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("我的关注", "ContactUs", "Content")</dd>
    <dd style="display:none" class="@(currenturl.IndexOf("content/cooperativead") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("一键分享", "CooperativeAd", "Content")</dd>
</dl>
<dl style="display: none">
    <dt>帐户信息</dt>
    <dd class="@(currenturl.IndexOf("content/about") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("帐户查询", "About", "Content")</dd>
    <dd style="display:none" class="@(currenturl.IndexOf("content/contactus") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("积分查询与兑换", "ContactUs", "Content")</dd>
</dl>
<dl>
    <dt>个人信息管理</dt>
    <dd style="display:none" class="@(currenturl.IndexOf("content/about") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("我的消息", "About", "Content")</dd>
    <dd class="@(currenturl.IndexOf("account/userinfo") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("编辑个人资料", "UserInfo", "Account")</dd>
    <dd class="@(currenturl.IndexOf("account/changepassword") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("修改密码", "ChangePassword", "Account")</dd>
    <dd style="display:none" class="@(currenturl.IndexOf("content/cooperativead") > 0 ? "current" : "")">
        &gt; @Html.ActionLink("邀请好友加入", "CooperativeAd", "Content")</dd>
</dl>
<img src="@Url.Content("~/Content/img/leftfooter.gif")"/>